package com.augurit.gzcgwsp.rqqyjyxk.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.augurit.gzcgwsp.rqqyjyxk.dao.YwRqQyjyxkFinalRqjszrypbqkDao;
import com.augurit.gzcgwsp.rqqyjyxk.entity.YwRqQyjyxkFinalRqjszrypbqk;
import com.augurit.gzcgwsp.rqqyjyxk.service.IYwRqQyjyxkFinalRqjszrypbqkService;
/**
 * 
 * <P>title:最终数据人员配备情况service实现类</p>																								
 * <P>Description：</p>
 * <p>Copyright: Copyright (c) 2011 augurit</p>
 * <p>Company: 广州奥格智能科技</p>
 * History：
 * @author:zhangjun
 * @date Oct 15, 2011
 * @version 1.0
 */
@Service("rqjszrypbqkService")
@Transactional
public class YwRqQyjyxkFinalRqjszrypbqkServiceImpl   implements IYwRqQyjyxkFinalRqjszrypbqkService{
	@Autowired
	private YwRqQyjyxkFinalRqjszrypbqkDao rqjszrypbqkDao;

    public List<YwRqQyjyxkFinalRqjszrypbqk> getInfosByQyid(Long qyid) {
       String  sql=" from "+ YwRqQyjyxkFinalRqjszrypbqk.class.getName()+" where gyzid='"+qyid+"'";
        return rqjszrypbqkDao.find(sql);
    }

    public void save(YwRqQyjyxkFinalRqjszrypbqk finalentity) {
        rqjszrypbqkDao.save(finalentity);
        
    }



    

}
